import * as API from '../api'

const paramsType={
    'big1':'/carbonReport/productPowerReport/year',
    'big2':'/carbonReport/emissionChart/percent',
    'big3':'/material/materialInventory/list',
    'big4':'/carbonReport/saleOverall',
    'big5':'/carbonReport/productPowerReport/year',
    'big6':'/carbonReport/productPowerReport/month',
    'big7':'/carbonReport/productPowerReport/day',
    'big8':'/carbonReport/equipmentPowerReport/list',
    'big9':'/carbonReport/salePlan/achieveRate',
    'big10':'/carbonReport/saleStat',
    'big11':'/carbonReport/saleCustomer/ranking',
    'big12':'/carbonReport/productPowerReport/list',
}

export function currentGET(key,params) {
    return API.GET(paramsType[key],params)
}